Editors = Editors or {}

local characters = {
	Type = "mysql",				--必填,编辑器类型,以后可能会添加dbc的支持
	Database = "characters",	--表格所在数据库
	Table = "characters",		--表格的名称
	Name = "玩家角色数据",		--编辑器名字,用于显示在编辑器左上显示,唯一,同时也用于注册对象
	Fields = {
		--field 字段名		 isFilter 是否为筛选字段  name 名称 			tooltip 工具提示
		{
			orientation = true,
			borderColor = "#567d00",
			{field = "guid", 		isFilter = true, 	name = "GUID", 		tooltip = "玩家的GUID"},
			{field = "account", 	isFilter = true, 	name = "账号ID", 	tooltip = "玩家的账号ID"},
		},
		
		
		{
			borderColor = "#cccccc",
			{field = "race", 		isFilter = true, 	name = "种族", 		tooltip = "玩家的种族", orientation = true,},
			{field = "class", 		isFilter = true, 	name = "职业", 		tooltip = "玩家的职业", orientation = true,},
		},
		
		{field = "name", 		isFilter = true, 	name = "玩家名称", 	tooltip = "玩家的姓名"},

		{field = "gender", 		isFilter = true, 	name = "性别", 		tooltip = "玩家的性别"},
		{field = "level", 		isFilter = true, 	name = "等级", 		tooltip = "玩家的等级"},
	},
}

table.insert(Editors, characters)
